﻿using EasyDDD.Domain;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace EasyDDD.AdminModule.Records.Entities
{
    [Table("ApplicationRole")]
    public record ApplicationRole : Models.ApplicationRole, IEntity
    {
        //public virtual ICollection<ApplicationRoleClaim> RoleClaimList { get; set; } = default!;
        public virtual ICollection<SysAdminRoleMenu> MenuList { get; set; } = new Collection<SysAdminRoleMenu>();
    }
}
